<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray">
    <thead>
    <tr>
        <th>下单日期</th>
        <th>客户姓名</th>
        <th>电话</th>
        <th>卡号</th>
        <th>种类</th>
        <th>产品名称</th>
        <th>开卡日期</th>
        <th>结束日期</th>
        <th>渠道</th>
        <th>金额</th>
        <th>引荐人</th>
        <th>促会人</th>
        <th>分管人</th>
        <th>是否退会</th>
        <th>到期类型</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if ambHymxbsTable.rows??>
        <#list ambHymxbsTable.rows as ambHymxb>
        <tr>
            <td>${ambHymxb.billDate!''}</td>
            <td>${ambHymxb.customerName!''}</td>
            <td>${ambHymxb.phone!''}</td>
            <td>${ambHymxb.cardNo!''}</td>
            <td>${ambHymxb.species!''}</td>
            <td>${ambHymxb.productName!''}</td>
            <td>${ambHymxb.openStart!''}</td>
            <td>${ambHymxb.dueStart!''}</td>
            <td>${ambHymxb.channel!''}</td>
            <td>${ambHymxb.money!''}</td>
            <td>${ambHymxb.yjrName!''}</td>
            <td>${ambHymxb.chrName!''}</td>
            <td>${ambHymxb.fgrName!''}</td>
            <td>${ambHymxb.vipBack!''}</td>

            <td>
                <@display list=overdueTypeList value="${ambHymxb.overdueType!''}"/>
            </td>
            <#if (ambHymxb.billDate?date("yyyy-MM-dd")< "2017-01-01"?date("yyyy-MM-dd"))>
                <td>
                    <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${ambHymxb.id?c});"
                       title="编辑"><i class="fa fa-edit"></i></a></td>
            </#if>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if ambHymxbsTable??>
    <@page table=ambHymxbsTable formId="search_ambHymxb_table"/>
</#if>